//
//  ImageUtil.h
//  TableBarControllerDemo
//
//  Created by 边果互动 on 2021/3/23.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
#import <SDWebImage/SDWebImage.h>

NS_ASSUME_NONNULL_BEGIN

@interface ImageUtil : NSObject

+ (void) loadImage: (UIImageView *) imageView andUrl: (NSString *) url;

+ (NSData *) compressImage:(UIImage *)image;

+ (NSData *) compressImage:(UIImage *)image endValue:(NSInteger)value;

@end

NS_ASSUME_NONNULL_END
